﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000621 RID: 1569
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GeneralVirtualItemDataNotify : IMessage<GeneralVirtualItemDataNotify>, IMessage, IEquatable<GeneralVirtualItemDataNotify>, IDeepCloneable<GeneralVirtualItemDataNotify>, IBufferMessage
	{
		// Token: 0x17001452 RID: 5202
		// (get) Token: 0x060046DF RID: 18143 RVA: 0x000C38D5 File Offset: 0x000C1AD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GeneralVirtualItemDataNotify> Parser
		{
			get
			{
				return GeneralVirtualItemDataNotify._parser;
			}
		}

		// Token: 0x17001453 RID: 5203
		// (get) Token: 0x060046E0 RID: 18144 RVA: 0x000C38DC File Offset: 0x000C1ADC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GeneralVirtualItemDataNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001454 RID: 5204
		// (get) Token: 0x060046E1 RID: 18145 RVA: 0x000C38EE File Offset: 0x000C1AEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GeneralVirtualItemDataNotify.Descriptor;
			}
		}

		// Token: 0x060046E2 RID: 18146 RVA: 0x000C38F5 File Offset: 0x000C1AF5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GeneralVirtualItemDataNotify()
		{
		}

		// Token: 0x060046E3 RID: 18147 RVA: 0x000C3908 File Offset: 0x000C1B08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GeneralVirtualItemDataNotify(GeneralVirtualItemDataNotify other) : this()
		{
			this.fPMOCJGIEOG_ = other.fPMOCJGIEOG_.Clone();
			this.pCALCOCEHLM_ = other.pCALCOCEHLM_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060046E4 RID: 18148 RVA: 0x000C393E File Offset: 0x000C1B3E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GeneralVirtualItemDataNotify Clone()
		{
			return new GeneralVirtualItemDataNotify(this);
		}

		// Token: 0x17001455 RID: 5205
		// (get) Token: 0x060046E5 RID: 18149 RVA: 0x000C3946 File Offset: 0x000C1B46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<PileItem> FPMOCJGIEOG
		{
			get
			{
				return this.fPMOCJGIEOG_;
			}
		}

		// Token: 0x17001456 RID: 5206
		// (get) Token: 0x060046E6 RID: 18150 RVA: 0x000C394E File Offset: 0x000C1B4E
		// (set) Token: 0x060046E7 RID: 18151 RVA: 0x000C3956 File Offset: 0x000C1B56
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool PCALCOCEHLM
		{
			get
			{
				return this.pCALCOCEHLM_;
			}
			set
			{
				this.pCALCOCEHLM_ = value;
			}
		}

		// Token: 0x060046E8 RID: 18152 RVA: 0x000C395F File Offset: 0x000C1B5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GeneralVirtualItemDataNotify);
		}

		// Token: 0x060046E9 RID: 18153 RVA: 0x000C3970 File Offset: 0x000C1B70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GeneralVirtualItemDataNotify other)
		{
			return other != null && (other == this || (this.fPMOCJGIEOG_.Equals(other.fPMOCJGIEOG_) && this.PCALCOCEHLM == other.PCALCOCEHLM && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060046EA RID: 18154 RVA: 0x000C39C0 File Offset: 0x000C1BC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.fPMOCJGIEOG_.GetHashCode();
			if (this.PCALCOCEHLM)
			{
				num ^= this.PCALCOCEHLM.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060046EB RID: 18155 RVA: 0x000C3A0D File Offset: 0x000C1C0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060046EC RID: 18156 RVA: 0x000C3A15 File Offset: 0x000C1C15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060046ED RID: 18157 RVA: 0x000C3A20 File Offset: 0x000C1C20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PCALCOCEHLM)
			{
				output.WriteRawTag(8);
				output.WriteBool(this.PCALCOCEHLM);
			}
			this.fPMOCJGIEOG_.WriteTo(ref output, GeneralVirtualItemDataNotify._repeated_fPMOCJGIEOG_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060046EE RID: 18158 RVA: 0x000C3A70 File Offset: 0x000C1C70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.fPMOCJGIEOG_.CalculateSize(GeneralVirtualItemDataNotify._repeated_fPMOCJGIEOG_codec);
			if (this.PCALCOCEHLM)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060046EF RID: 18159 RVA: 0x000C3AB8 File Offset: 0x000C1CB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GeneralVirtualItemDataNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.fPMOCJGIEOG_.Add(other.fPMOCJGIEOG_);
			if (other.PCALCOCEHLM)
			{
				this.PCALCOCEHLM = other.PCALCOCEHLM;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060046F0 RID: 18160 RVA: 0x000C3B05 File Offset: 0x000C1D05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060046F1 RID: 18161 RVA: 0x000C3B10 File Offset: 0x000C1D10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 34U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.fPMOCJGIEOG_.AddEntriesFrom(ref input, GeneralVirtualItemDataNotify._repeated_fPMOCJGIEOG_codec);
					}
				}
				else
				{
					this.PCALCOCEHLM = input.ReadBool();
				}
			}
		}

		// Token: 0x04001C34 RID: 7220
		private static readonly MessageParser<GeneralVirtualItemDataNotify> _parser = new MessageParser<GeneralVirtualItemDataNotify>(() => new GeneralVirtualItemDataNotify());

		// Token: 0x04001C35 RID: 7221
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001C36 RID: 7222
		public const int FPMOCJGIEOGFieldNumber = 4;

		// Token: 0x04001C37 RID: 7223
		private static readonly FieldCodec<PileItem> _repeated_fPMOCJGIEOG_codec = FieldCodec.ForMessage<PileItem>(34U, PileItem.Parser);

		// Token: 0x04001C38 RID: 7224
		private readonly RepeatedField<PileItem> fPMOCJGIEOG_ = new RepeatedField<PileItem>();

		// Token: 0x04001C39 RID: 7225
		public const int PCALCOCEHLMFieldNumber = 1;

		// Token: 0x04001C3A RID: 7226
		private bool pCALCOCEHLM_;
	}
}
